package com.sdl.timesblogmp.model.vo;


import com.sdl.timesblogmp.model.entity.Blog;
import com.sdl.timesblogmp.model.entity.Category;
import com.sdl.timesblogmp.model.entity.Tag;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author sdl
 * @date 2020/4/29 5:40 下午
 * @description
 */

public class BlogInfo {
    @ApiModelProperty(value = "Blog实体")
    private Blog blog;
    @ApiModelProperty(value = "category实体")
    private Category category;
    @ApiModelProperty(value = "Tag列表")
    private List<Tag> tag;

    @Override
    public String toString() {
        return "BlogInfo{" +
                "blog=" + blog +
                ", category=" + category +
                ", tag=" + tag +
                '}';
    }

    public BlogInfo() {
    }

    public BlogInfo(Blog blog, Category category, List<Tag> tag) {
        this.blog = blog;
        this.category = category;
        this.tag = tag;
    }

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public List<Tag> getTag() {
        return tag;
    }

    public void setTag(List<Tag> tag) {
        this.tag = tag;
    }
}
